|
how tolink an xml file with wml so that it will fetch the data(xml) and show to wml .plz tell me this with a small example or send the example on my mail id given below
raviraman4u@yahoo.com
raviraman4u@rediffmail.com
|
|
|
|
|
I'm attempting to put together an XML format for posting/migrating blog data, and while I'm in the design phase, I came across an interesting question.
What's the best way to take HTML that may or may not be valid, and nest it in an XML document, while still keeping the XML valid?
I'm trying to make it so that the data can be migrated between all manner of blogging apps (LJ, diaryland, self-hosted ones like Wordpress, Pivot, B2Evolution), and most of them have their own unique quirks that break valid XML (some, for instance, use <p> instead of <p />) if just dropped in there.
Is there some "comment" element, or other way of flagging chunks of data that shouldn't be explicitly validated?
Should I just leave it up to the software processing the data to replace all "keyword" type characters (<> etc) with their HTML equivalents? < &rt; etc... The problem with this approach, is that there are a ton of these, and I don't want to place undo stress on those writing the software to deal with this format.
Any ideas on valid ways to tell an XML parser "this is valid, just ignore it", or simpler ways to store unvalidated HTML in a valid XML doc, or in general just ideas as to what approach I should take?
Oh, if you want to follow the progress of the format,
http://www.callingshotgun.net/drupal
Much appreciated.
-Alex
|
|
|
|
|
|
(Apparently Greener in XML than I thought... never used CDATA)
Looked it up... Yeah, that's absolutely perfect, thanks!
Damn you, online references, for making me feel leeter than I was!
-Alex
|
|
|
|
|
can anyone tell me about xalan:nodeset and xalan:tokenize?
what is functionality of the following statement in .xsl
<xsl:value-of select="//state[@name=$state]/policies[xalan:tokenize(@clients, ',') = $client]/@URI"/>
Thanks
kavitha
|
|
|
|
|
This[^] was the first hit from google, and it confirmed what I thought. Tokenise will split @clients into an array of strings, every time it finds a ,. Then I assume that it will match when one of those values is the same as $client
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
how can i implement a similar functionality in c#, so that my function will perform the same task of xalan:tokenize?
And in xml how does an array of values get matched with a single value?
kavitha
|
|
|
|
|
Google[^] has a heap of info on C# XSLT extensions
It would return a nodeset, so any values that match will be returned.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi All!
I use XmlSerializer to serialize object and got the following:
<?xml version=\"1.0\" encoding=\"utf-16\"?>
<MyClass xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.MyFirma.biz/MyNamespace\">
<Positions>
<Position>
</Position>
...
</Positions>
</MyClass>
Is it possible to get rid of the overhead (namespace info, schema info, xml version)? Anyway I do not need this info since parsing will be done without XmlSerializer.
So I need that output looks like below:
<MyClass>
<Positions>
<Position>
</Position>
...
</Positions>
</MyClass>
Thanks!
|
|
|
|
|
Hi There,
Do you know how to serialize a button or textbox
|
|
|
|
|
convert interbase database file into sql server database
My question is that through interbase database i have text file and again i want to convert that file in sql server database or any ms-access database is it possible so what r the steps.....
plz reply soon..
brijesh
|
|
|
|
|
How can i insert a .gif image in my XSLT document, so it can be seen in the output (html)?
|
|
|
|
|
If it's html, then it needs to be an img tag, so the gif file needs to be external to the output.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi guys,
I'm doing a project and i'm stuck up with the problem,that is can i store and retrieve my data in the form of XML files.If yes how can i do it as my scripting language is PHP.Please help me guys i'm searching for this for the last 2 weeks.
Manish
|
|
|
|
|
It's pretty straightforward, what bit is worrying you ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
how xml and xslt work together?? how do they link to each other eg. codes that make them work together?? can someone provide a example??
Han
|
|
|
|
|
You'd probably be better off asking a question like this in the XML / XSL forum.
Picture a huge catholic cathedral. In it there's many people, including a gregorian monk choir. You know, those who sing beautifully. Then they start singing, in latin, as they always do: "Ad hominem..."
-Jörgen Sigvardsson
|
|
|
|
|
Please do NOT post programming questions or ads to this forum
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
|
|
Ian Darling wrote:
Well whaddyaknow, it works
If you liked that, try using for VB and for AJAX.
Jonathan Newman
blog.nonny.com [^]
|
|
|
|
|
A document in xslt language tells to an xslt prosessor how we want an xml document to be transformed. The output can be xml too.
The xslt documents are xml files, but restricted to the xslt schema.
At my article http://www.codeproject.com/aspnet/CXML.asp[^] i use xslt in the IIS/aspx.
|
|
|
|
|
Hi friend,
I am developing a web application and using XML files to store data.
I want to display data of an xml file using XML stylesheet. I found tutorials regarding this but everywhere the extension of xml stylesheet is XSL. and in .net I found that file with .XSLT file.
I used that file but when I tried to view XML file in the browser it gives error that any html key word like "HTML","BODY","H1" may not be used here.
What does it mean?
Can any one tell me how to use xmlstylesheet to display xml file on browser other than the typical way?
thank u all in advance.
|
|
|
|
|
You can use the .xsl extension if that's what the browser reqires.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I have a XML file:
<CARO_BOARD row=10 col=10>
<CHESS x=1 y=1 sign="X"/>
<CHESS x=1 y=2 sign="0"/>
<CHESS x=3 y=1 sign="X"/>
<CHESS x=4 y=4 sign="0"/>
</CARO_BOARD>
I want to use XSLT to show this file as table(rows=10 and cols=10) and the value in cell(1,1) is 'X',the value in cell(1,2) is '0'...Others cell is NULL.
Please tell me a solution.
Thanks.
-- modified at 2:30 Friday 23rd September, 2005
|
|
|
|