<?xml version='1.0' encoding='utf-8' ?>
<!--  If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/  -->
<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
<channel>
  <title>XML</title>
  <link>http://community.livejournal.com/_xml/</link>
  <description>XML - LiveJournal.com</description>
  <lastBuildDate>Thu, 01 Nov 2007 11:03:24 GMT</lastBuildDate>
  <generator>LiveJournal / LiveJournal.com</generator>
  <lj:journal>_xml</lj:journal>
  <lj:journaltype>community</lj:journaltype>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/14614.html</guid>
  <pubDate>Thu, 01 Nov 2007 11:03:24 GMT</pubDate>
  <title>XMLspy 2008</title>
  <link>http://community.livejournal.com/_xml/14614.html</link>
  <description>Is anyone here using Altova XMLspy 2008? I&apos;ve just set it up and have been surprised to find that an XSLT that performs fine in XMLspy 2006 fails in this new version, claiming that the resultant HTML is not well-formed. I wondered if there&apos;s some new setting I need to untick or something.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Edited to add:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Here&apos;s the code of a very simple case, under the cut:&lt;br /&gt;&lt;br /&gt;&lt;a name=&quot;cutid1&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;The XML doc:&lt;br /&gt;============&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;br /&gt;&amp;lt;?xml-stylesheet type=&quot;text/xsl&quot; href=&quot;..\XML stuff\test.xsl&quot;?&amp;gt;&lt;br /&gt;&amp;lt;game&amp;gt;&lt;br /&gt;	&amp;lt;name&amp;gt;Test&amp;lt;/name&amp;gt;&lt;br /&gt;&amp;lt;/game&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The stylesheet:&lt;br /&gt;========&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&lt;br /&gt;&amp;lt;xsl:stylesheet version=&quot;1.0&quot; xmlns:xsl=&quot;&lt;a href=&quot;http://www.w3.org/1999/XSL/Transform&quot;&gt;http://www.w3.org/1999/XSL/Transform&lt;/a&gt;&quot;&amp;gt;&lt;br /&gt;	&amp;lt;xsl:output method=&quot;html&quot; media-type=&quot;text/html&quot; doctype-public=&quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; doctype-system=&quot;&lt;a href=&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;http://www.w3.org/TR/html4/loose.dtd&lt;/a&gt;&quot; indent=&quot;yes&quot; encoding=&quot;ISO-8859-1&quot;/&amp;gt;&lt;br /&gt;	&amp;lt;xsl:template match=&quot;/&quot;&amp;gt;&lt;br /&gt;		&amp;lt;html&amp;gt;&lt;br /&gt;			&amp;lt;head&amp;gt;&lt;br /&gt;				&amp;lt;title&amp;gt;&lt;br /&gt;					&amp;lt;xsl:value-of select=&quot;game/name&quot;/&amp;gt;&lt;br /&gt;				&amp;lt;/title&amp;gt;&lt;br /&gt;			&amp;lt;/head&amp;gt;&lt;br /&gt;			&amp;lt;body&amp;gt;&lt;br /&gt;			&amp;lt;/body&amp;gt;&lt;br /&gt;		&amp;lt;/html&amp;gt;&lt;br /&gt;	&amp;lt;/xsl:template&amp;gt;&lt;br /&gt;&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The resultant HTML:&lt;br /&gt;===================&lt;br /&gt;&lt;br /&gt;&amp;lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;&lt;a href=&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;http://www.w3.org/TR/html4/loose.dtd&lt;/a&gt;&quot;&amp;gt;&amp;lt;html&amp;gt;&lt;br /&gt;	&amp;lt;head&amp;gt;&lt;br /&gt;		&amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=ISO-8859-1&quot;&amp;gt;&lt;br /&gt;		&amp;lt;title&amp;gt;Test&amp;lt;/title&amp;gt;&lt;br /&gt;	&amp;lt;/head&amp;gt;&lt;br /&gt;	&amp;lt;body /&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The error message:&lt;br /&gt;==================&lt;br /&gt;&lt;br /&gt;End tag must not have name &apos;head&apos; in column 4 at line 5&lt;br /&gt;	Reason: its name must match start tag &apos;meta&apos;&lt;br /&gt;	Details&lt;br /&gt;		WFC: Element Type Match: Name &apos;head&apos; of end tag does not match name &apos;meta&apos; of its start tag.&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So I get this error message in XMLspy 2008, but I don&apos;t get it in XMLspy 2006. And it seems to me that it&apos;s an incorrect error, in that the meta tag is closed OK, so it should be OK to close the head like this. This page validates fine on the W3C validator, apart from the thing noted below.&lt;br /&gt;&lt;br /&gt;(Annoyingly, it&apos;s converted my &amp;lt;body&amp;gt; ... &amp;lt;/body&amp;gt; to &amp;lt;body /&amp;gt;, which is not correct under my declared doctype HTML 4.01. But both versions do that, and it wouldn&apos;t be an issue in a real case I guess ;-)</description>
  <comments>http://community.livejournal.com/_xml/14614.html</comments>
  <lj:music>Sonic Youth - Cinderella&apos;s Big Score (live)</lj:music>
  <lj:security>public</lj:security>
  <lj:poster>undyingking</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/14191.html</guid>
  <pubDate>Sat, 26 May 2007 01:22:24 GMT</pubDate>
  <title>My First RSS feed.. well, if it worked.</title>
  <link>http://community.livejournal.com/_xml/14191.html</link>
  <description>I made an RSS feed for &lt;a href=&quot;http://www.allroundnews.co.uk/feed.rss&quot;&gt;my website&apos;s blog&lt;/a&gt;, but when I subscribed using Google Reader, it said there&apos;s been no posts. Which leads me to believe that I&apos;ve obviously done something wrong.&lt;br /&gt;&lt;br /&gt;Any help will earn you cookies :)&lt;br /&gt;&lt;br /&gt;ETA: I fixed it :) The &amp;lt;channel&amp;gt; tag had to go around the items too. Thanks to &lt;a href=&quot;http://feedvalidator.org/&quot;&gt;the feed validator&lt;/a&gt;! xD</description>
  <comments>http://community.livejournal.com/_xml/14191.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>shamess_the_elf</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/13961.html</guid>
  <pubDate>Sat, 19 May 2007 16:02:32 GMT</pubDate>
  <title>Is this right?</title>
  <link>http://community.livejournal.com/_xml/13961.html</link>
  <description>You may remember how badly I fail at XLM &lt;a href=&quot;http://community.livejournal.com/_xml/12615.html&quot;&gt;from last time&lt;/a&gt;. I&apos;ve come to ask if my since acquired knowledge is correct.&lt;br /&gt;&lt;br /&gt;So, what I figured XLM is is basically a standard, that doesn&apos;t actually do anything at all. It&apos;s just a standard, much like HTML, that other people use as well so they can interpret it all and do what they want with the information. That&apos;s correct, right?&lt;br /&gt;&lt;br /&gt;My question is, where do I find these standards? Take an RSS feed, how do I know what the procedure is from displaying my titles, body and anything else that&apos;s the norm for RSS feeds?&lt;br /&gt;&lt;br /&gt;Here&apos;s hoping I make sense!</description>
  <comments>http://community.livejournal.com/_xml/13961.html</comments>
  <lj:mood>bouncy</lj:mood>
  <lj:security>public</lj:security>
  <lj:poster>shamess_the_elf</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/13764.html</guid>
  <pubDate>Thu, 17 May 2007 07:37:28 GMT</pubDate>
  <title>xml script language design question</title>
  <link>http://community.livejournal.com/_xml/13764.html</link>
  <description>&lt;p&gt;&lt;proceduredef name=&quot;foo&quot;&gt;&lt;/proceduredef&gt;&lt;argumentdef name=&quot;fooarg1&quot;&gt;&lt;/argumentdef&gt;&lt;argumentdef name=&quot;fooarg2&quot;&gt;&lt;/argumentdef&gt;&lt;dostuff&gt;&lt;/dostuff&gt;&lt;procedure name=&quot;bar&quot;&gt;&lt;/procedure&gt;&lt;dostuff&gt;&lt;/dostuff&gt;&lt;call procedurename=&quot;foo&quot;&gt;&lt;/call&gt;&lt;argument value=&quot;1&quot; name=&quot;fooarg1&quot;&gt;&lt;/argument&gt;&lt;call procedurename=&quot;foo&quot;&gt;&lt;/call&gt;&lt;argument value=&quot;3&quot; name=&quot;fooarg1&quot;&gt;&lt;/argument&gt;&lt;call procedurename=&quot;bar&quot;&gt;&lt;/call&gt;Hi all,&lt;br /&gt;&lt;br /&gt;First, some some background information.&lt;br /&gt;&lt;br /&gt;I have written a Java application that runs simple XML-based scripts. The script syntax is defined in a schema, so it&apos;s possible to a) generate Java binding classes for the application and b) use an editor with validation and code completion. &lt;br /&gt;&lt;br /&gt;The scripts are becoming longer and more complex; they could be greatly simplified if there were support for procedures. It&apos;s probably possible to generate complex scripts using XSLT, but I have a very superficial knowledge of it and this approach seems too cumbersome, soo I&apos;ll probably go with procedures. They would be defined and called in the same script file, I imagine. &lt;br /&gt;&lt;br /&gt;I would like to define as much of the syntax as possible in the schema and do as little as possible additional validation on the application interpreter level, and keep the syntax simple if possible.&lt;br /&gt;&lt;br /&gt;The problem is to choose the right syntax and scope for the procedure arguments. &lt;br /&gt;&lt;br /&gt;Now, the question:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;a name=&quot;cutid1&quot;&gt;&lt;/a&gt;&lt;div class=&quot;ljcut&quot; text=&quot;Read more...&quot;&gt;Is there any way to define the relationship between procedure arguments and procedure calls in the schema, using keyref, idref or anything else?&amp;nbsp; &lt;br /&gt;&lt;br /&gt;For example (not the simplest syntax):&lt;br /&gt;&lt;br /&gt;&amp;lt;ProcedureDef name=&quot;foo&quot;&amp;gt;&lt;br /&gt;&amp;lt;ArgumentDef name=&quot;fooarg1&quot;/&amp;gt;&lt;br /&gt;&amp;lt;ArgumentDef name=&quot;fooarg2&quot;/&amp;gt;&lt;br /&gt;&amp;lt;DoStuff&amp;gt;&lt;br /&gt;....&lt;br /&gt;&amp;lt;DoStuff/&amp;gt;&lt;br /&gt;&amp;lt;/Procedure&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;ProcedureDef name=&quot;bar&quot;&amp;gt;&lt;br /&gt;&amp;lt;DoStuff&amp;gt;&lt;br /&gt;....&lt;br /&gt;&amp;lt;DoStuff/&amp;gt;&lt;br /&gt;&amp;lt;/Procedure&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Call procedureName=&quot;foo&quot;&amp;gt;&lt;br /&gt;&amp;lt;Argument name=&quot;fooarg1&quot; value=&quot;1&quot;/&amp;gt;&lt;br /&gt;&amp;lt;Argument name=&quot;fooarg2&quot; value=&quot;2&quot;/&amp;gt;&lt;br /&gt;&amp;lt;/Call&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Call procedureName=&quot;foo&quot;&amp;gt;&lt;br /&gt;&amp;lt;Argument name=&quot;fooarg1&quot; value=&quot;3&quot;/&amp;gt;&lt;br /&gt;&amp;lt;Argument name=&quot;fooarg2&quot; value=&quot;4&quot;/&amp;gt;&lt;br /&gt;&amp;lt;/Call&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Call procedureName=&quot;bar&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;Many thanks in advance for any advice.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description>
  <comments>http://community.livejournal.com/_xml/13764.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>ska_o</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/13402.html</guid>
  <pubDate>Thu, 10 May 2007 20:43:10 GMT</pubDate>
  <link>http://community.livejournal.com/_xml/13402.html</link>
  <description>Hi All, &lt;br /&gt;May be smbd meet hte code ,that creates class from xml file in Java&amp;nbsp;? &lt;br /&gt;Sincerely yours :-)</description>
  <comments>http://community.livejournal.com/_xml/13402.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>starik73</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/13253.html</guid>
  <pubDate>Fri, 20 Apr 2007 07:58:09 GMT</pubDate>
  <title>xslt advice needed</title>
  <link>http://community.livejournal.com/_xml/13253.html</link>
  <description>I need to convert some xml files to a slightly different schema. A couple of elements need to be renamed and one element needs to move down the hieerarchy and some attributes need to change. Most of the stuff remains the same, though.&lt;br /&gt;&lt;br /&gt;I could do it all with sed, but I thought that maybe XSLT would really be the right approach here.  Unfortunately, I don&apos;t know much about it; I kind of skimmed over the tutorial on the W3C website&lt;br /&gt;and looked at a few other sites I found on Google, but all of the examples seem to be dealing with XML-&amp;gt;HTML conversion where all the output is specified explicitly, whereas I need only minor changes, as I wrote above.&lt;br /&gt;&lt;br /&gt;Is XSLT really suitable for this?  If so, can you please recommend a good resource?&lt;br /&gt;&lt;br /&gt;Thanks in advance!</description>
  <comments>http://community.livejournal.com/_xml/13253.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>ska_o</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/12866.html</guid>
  <pubDate>Tue, 10 Apr 2007 16:56:27 GMT</pubDate>
  <link>http://community.livejournal.com/_xml/12866.html</link>
  <description>Hi,&lt;br /&gt;&lt;br /&gt;I&apos;d like to figure out if it&apos;s possible to define a unique key in the XSD file that would refer to the same attribute of multiple elements; I do mean the key definition, not key reference.&lt;br /&gt;&lt;br /&gt;Any ideas?&lt;br /&gt;&lt;br /&gt;Thank in advance.</description>
  <comments>http://community.livejournal.com/_xml/12866.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>ska_o</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/12615.html</guid>
  <pubDate>Mon, 09 Apr 2007 23:22:23 GMT</pubDate>
  <link>http://community.livejournal.com/_xml/12615.html</link>
  <description>I&apos;m brand new to XML, as of an hour or so ago. ^^;;&lt;br /&gt;&lt;br /&gt;Can anyone tell me why &lt;a href=&quot;http://allroundnews.co.uk/misc/xmlplay.html&quot;&gt;this&lt;/a&gt; doesn&apos;t work? I&apos;ve practically just copied and pasted the HTML from W3Schools.&lt;br /&gt;&lt;br /&gt;Thanks.</description>
  <comments>http://community.livejournal.com/_xml/12615.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>shamess_the_elf</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/12502.html</guid>
  <pubDate>Tue, 20 Mar 2007 10:41:48 GMT</pubDate>
  <title>http://xmlia.com</title>
  <link>http://community.livejournal.com/_xml/12502.html</link>
  <description>&lt;font size=&quot;4&quot;&gt;Dear friends! &lt;br /&gt;We are glad to you to inform on opening new, absolutely free-of-charge site about &lt;b&gt;&lt;a href=&quot;http://xmlia.com/&quot;&gt;&lt;b&gt;online XML-validator and web-based editor&lt;/b&gt;&lt;/a&gt;.&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;For what to pay huge money for different win-based editors or to put the unchecked cracked copies?&lt;br /&gt;Use our site, and you should not install anything on computer. &lt;br /&gt;Our site does not contain advertising, is quickly loaded,consumes not enough traffic and quickly processes your data. &lt;br /&gt;At your service XML visualisation not only in the form of TREE, but also in the form of GRID, that is actually avaliable only in very expensive windows XML editors.&lt;br /&gt;&lt;br /&gt;all what you need to do-its just register for free&lt;br /&gt;&lt;br /&gt;See you in &lt;a href=&quot;http://xmlia.com/&quot;&gt;&lt;strong&gt;http://xmlia.com&lt;/strong&gt;&lt;/a&gt;&lt;/font&gt;</description>
  <comments>http://community.livejournal.com/_xml/12502.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>xmliacom</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/12195.html</guid>
  <pubDate>Mon, 29 Jan 2007 14:44:05 GMT</pubDate>
  <title>XPAth attributes</title>
  <link>http://community.livejournal.com/_xml/12195.html</link>
  <description>Hello. I m trying to select nodes with attributes diffgr:id=&quot;PatientNote1&quot;.&lt;br /&gt;Here my xml^&lt;br /&gt;&lt;diffgr:diffgram xmlns:msdata=&quot;urn:schemas-microsoft-com:xml-msdata&quot; xmlns:diffgr=&quot;urn:schemas-microsoft-com:xml-diffgram-v1&quot;&gt;&lt;br /&gt;  &lt;newdataset&gt;&lt;br /&gt;    &lt;patientnote diffgr:id=&quot;PatientNote1&quot; msdata:roworder=&quot;0&quot; diffgr:haschanges=&quot;modified&quot;&gt;&lt;br /&gt;      &lt;pntid&gt;20000047&lt;/pntid&gt;&lt;br /&gt;      &lt;patid&gt;74&lt;/patid&gt;&lt;br /&gt;      &lt;sptid&gt;20&lt;/sptid&gt;&lt;br /&gt;      &lt;changedbyusrid&gt;27&lt;/changedbyusrid&gt;&lt;br /&gt;      &lt;changeddatetime&gt;2007-01-29T08:38:40.859375+02:00&lt;/changeddatetime&gt;&lt;br /&gt;      &lt;comment&gt;New comment - modified&lt;/comment&gt;&lt;br /&gt;      &lt;calc_usrname&gt;Pakhomov, Yuri&lt;/calc_usrname&gt;&lt;br /&gt;      &lt;calc_sptname&gt;Dental&lt;/calc_sptname&gt;&lt;br /&gt;    &lt;/patientnote&gt;&lt;br /&gt;  &lt;/newdataset&gt;&lt;br /&gt;  &lt;diffgr:before&gt;&lt;br /&gt;    &lt;patientnote diffgr:id=&quot;PatientNote1&quot; msdata:roworder=&quot;0&quot;&gt;&lt;br /&gt;      &lt;pntid&gt;20000047&lt;/pntid&gt;&lt;br /&gt;      &lt;patid&gt;74&lt;/patid&gt;&lt;br /&gt;      &lt;sptid&gt;20&lt;/sptid&gt;&lt;br /&gt;      &lt;changedbyusrid&gt;27&lt;/changedbyusrid&gt;&lt;br /&gt;      &lt;changeddatetime&gt;2007-01-29T08:38:35.015625+02:00&lt;/changeddatetime&gt;&lt;br /&gt;      &lt;comment&gt;New comment&lt;/comment&gt;&lt;br /&gt;      &lt;calc_usrname&gt;Pakhomov, Yuri&lt;/calc_usrname&gt;&lt;br /&gt;      &lt;calc_sptname&gt;Dental&lt;/calc_sptname&gt;&lt;br /&gt;    &lt;/patientnote&gt;&lt;br /&gt;  &lt;/diffgr:before&gt;&lt;br /&gt;&lt;/diffgr:diffgram&gt;&lt;br /&gt;&lt;br /&gt;XPAth query:&lt;br /&gt;&quot;//*[@diffgr:id=&apos;PatientNote1&apos;]&quot;&lt;br /&gt; But it returns 0 nodes. Seems it doesnt like &quot;:&quot; symbol. How to solve this?</description>
  <comments>http://community.livejournal.com/_xml/12195.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>marvel_m</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/11870.html</guid>
  <pubDate>Thu, 04 Jan 2007 07:17:56 GMT</pubDate>
  <title>My Blogger Layout has an ERROR! HELP!!</title>
  <link>http://community.livejournal.com/_xml/11870.html</link>
  <description>Okay, so I made myself a layout, and I&apos;m currently getting this error from blogger.com.&lt;br /&gt;&lt;br /&gt;&lt;b&gt; Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.&lt;br /&gt;XML error message: White spaces are required between publicId and systemId.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here&apos;s my coding file. Please...SOMEONE HELP ME!! ;__;&apos;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.box.net/public/jb9oxqmag6&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.box.net/index.php?rm=box_v2_file_button&amp;amp;text=my rocking junyampi layout.rtf&amp;amp;author=KimiWaPet2150@gmail.com&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;- Rachel</description>
  <comments>http://community.livejournal.com/_xml/11870.html</comments>
  <lj:music>Penicillin</lj:music>
  <lj:mood>frustrated</lj:mood>
  <lj:security>public</lj:security>
  <lj:poster>kimiwapet2150</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/11710.html</guid>
  <pubDate>Sun, 30 Jul 2006 15:52:23 GMT</pubDate>
  <title>XML questions</title>
  <link>http://community.livejournal.com/_xml/11710.html</link>
  <description>Hey all,&lt;br /&gt;&lt;br /&gt;Warning: I&apos;m pretty much XML challenged, so a lot of this might sound completely naive.&lt;br /&gt;&lt;br /&gt;I&apos;m working on an anthology of recipes. What I would ideally like to do is write up my recipes using the RecipeML DTD and then write a bunch of transformations to change my xml files in HTML, LaTeX, and text files.&lt;br /&gt;&lt;br /&gt;I&apos;m assuming that I can use XSLT to do this, but I&apos;m not sure exactly how. It seems like everything I read suggests that XSLT can take an XML doc and output another doc, but how can I use multiple XSLT files to change one doc into many different ones? Is there a command line tool I can run (OS X / Linux here) to execute this transform? I don&apos;t need it to happen dynamically through a web browser, obviously, in the case of text and LaTeX and I want the results right away.&lt;br /&gt;&lt;br /&gt;Am I trying to use the wrong tool here?&lt;br /&gt;Help? *grins*</description>
  <comments>http://community.livejournal.com/_xml/11710.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>vorpal</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/11326.html</guid>
  <pubDate>Wed, 14 Jun 2006 16:21:33 GMT</pubDate>
  <title>xslt question</title>
  <link>http://community.livejournal.com/_xml/11326.html</link>
  <description>Hi!  I wrote an XSLT to convert from XML to CSV.  Only problem is that the headers in my CSV require a CR LF inside an xsl:text, and when the transform gets executed the CR LF gets deleted.  Is there a command inside the xsl:text that would preserve the CR LF?  Would something like the xsl:preserve-space work for this?   Thanks&lt;br /&gt;J</description>
  <comments>http://community.livejournal.com/_xml/11326.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>jr_surfer</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/11234.html</guid>
  <pubDate>Sun, 19 Mar 2006 04:48:55 GMT</pubDate>
  <title>XML Schema syntax</title>
  <link>http://community.livejournal.com/_xml/11234.html</link>
  <description>I&apos;m currently taking an online class and my oh-so-helpful professor and classmates aren&apos;t answering my questions to the class message board. In an attempt to get something from this class other than the hour requirement to get my degree, I was wondering if anyone could explain my mistakes to me in a way that makes sense.&lt;br /&gt;&lt;br /&gt;Maybe I am totally confused on this subject, but to create a schema that involves children within children IE:&lt;br /&gt;&amp;lt;book&amp;gt;&lt;br /&gt;    &amp;lt;authors&amp;gt;&lt;br /&gt;        &amp;lt;author&amp;gt;&lt;br /&gt;            &amp;lt;given_name&amp;gt;&amp;lt;/given_name&amp;gt;&lt;br /&gt;            &amp;lt;middle_name&amp;gt;&amp;lt;/middle_name&amp;gt;&lt;br /&gt;            &amp;lt;surname&amp;gt;&amp;lt;/surname&amp;gt;&lt;br /&gt;        &amp;lt;/author&amp;gt;&lt;br /&gt;    &amp;lt;/authors&amp;gt;&lt;br /&gt;    &amp;lt;bk_title&amp;gt;&amp;lt;/bk_title&amp;gt;&lt;br /&gt;&amp;lt;/book&amp;gt;&lt;br /&gt;doesn&apos;t one need to put a complexType within a complexType, like so?&lt;br /&gt;&lt;br /&gt;&amp;lt;xs:complexType name=&quot;book&quot;&amp;gt;&lt;br /&gt;    &amp;lt;xs:all&amp;gt;&lt;br /&gt;        &amp;lt;xs:complexType name=&quot;authors&quot;&amp;gt;&lt;br /&gt;            &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;                    &amp;lt;xs:element name=&quot;author&quot; type=&quot;authorType&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;unbounded&quot;/&amp;gt;&lt;br /&gt;            &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;        &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;        &amp;lt;xs:element name=&quot;bk_title&quot; type=&quot;xs:string&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot;/&amp;gt;&lt;br /&gt;and so on to finish the schema&lt;br /&gt;&lt;br /&gt;This is what i presumed to be the case, but using an XML editor &amp;lt;oXygen/&amp;gt; tells me its wrong and I don&apos;t understand why. Can someone please explain this to me. &lt;br /&gt;&lt;br /&gt;Also, how does one create choices in a schema. We have discussed choice groups, but it  doesnt make sense for what I am trying to do, which is say that your choices for a certain element are A or B like is possible in DTDs. Is this something that schemas can&apos;t do?</description>
  <comments>http://community.livejournal.com/_xml/11234.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>quasarsglow</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/10970.html</guid>
  <pubDate>Thu, 26 Jan 2006 16:04:53 GMT</pubDate>
  <title>xml schema</title>
  <link>http://community.livejournal.com/_xml/10970.html</link>
  <description>Excuse me, this is my first post in this community..&lt;br /&gt;&lt;br /&gt;Ok in my xml file i have&lt;br /&gt;&lt;div style=&quot;font-family: Courier New;&quot;&gt;&lt;br /&gt;&amp;lt;answer type=&quot;multiselect&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;value&amp;gt;This&amp;lt;/value&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;value&amp;gt;That&amp;lt;/value&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;..&amp; so on...&lt;br /&gt;&amp;lt;/answer&amp;gt;&lt;br /&gt;&amp;lt;answer type=&quot;text&quot; mode=&quot;multiline|singleline&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;value label=&quot;some label&quot; /&amp;gt;&lt;br /&gt;&lt;br /&gt;Pay attention to this - if answer type is &quot;text&quot; then i need attribute &quot;mode&quot; with enumeration values and only one child element named &quot;value&quot; and this &quot;value&quot; element must have attribute &quot;label&quot;.&lt;br /&gt;&lt;br /&gt;&amp;lt;/answer&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;How i can describe complexType for this xml instance?&lt;br /&gt;&lt;br /&gt;Best, Ed.</description>
  <comments>http://community.livejournal.com/_xml/10970.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>gomolyako</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/10570.html</guid>
  <pubDate>Mon, 23 Jan 2006 17:54:47 GMT</pubDate>
  <title>sorting xml elements</title>
  <link>http://community.livejournal.com/_xml/10570.html</link>
  <description>ok in my xml file i have:&lt;br /&gt;&amp;lt;navigation&amp;gt;&lt;br /&gt;	&amp;lt;navbit&amp;gt;&lt;br /&gt;		&amp;lt;description&amp;gt;...&amp;lt;/description&amp;gt;&lt;br /&gt;		&amp;lt;url&amp;gt;...&amp;lt;/url&amp;gt;&lt;br /&gt;		&amp;lt;title&amp;gt;...&amp;lt;/title&amp;gt;&lt;br /&gt;	&amp;lt;/navbit&amp;gt;&lt;br /&gt;&amp;lt;/navigation&amp;gt;&lt;br /&gt;&lt;br /&gt;and i&apos;m parsing this with php, is their anyway  to sort the elements so that it&apos;s processed url =&amp;gt; title =&amp;gt; description?</description>
  <comments>http://community.livejournal.com/_xml/10570.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>sabret00the</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/10353.html</guid>
  <pubDate>Tue, 10 Jan 2006 21:54:08 GMT</pubDate>
  <title>xhtml 1.1 / DTD / div</title>
  <link>http://community.livejournal.com/_xml/10353.html</link>
  <description>I need to add an element to the list of the children of &lt;b&gt;&amp;lt;div&amp;gt;&lt;/b&gt; element. I would like to add it right in xhtml file after public DTD link. Could you help me find which module of xhtml-driver contains the definition of &lt;b&gt;&amp;lt;div&amp;gt;&lt;/b&gt;, so that I could copy and redefine it in xhtml-file body? I was trying to find it, but I failed, cos all there consist of entities, so that&apos;s it&apos;s hard to undrestand where is the needed piece of code.</description>
  <comments>http://community.livejournal.com/_xml/10353.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>snitko</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/10018.html</guid>
  <pubDate>Mon, 19 Dec 2005 03:32:06 GMT</pubDate>
  <title>MS Access Import problem</title>
  <link>http://community.livejournal.com/_xml/10018.html</link>
  <description>Hi folks,&lt;br /&gt;&lt;br /&gt;I&apos;ve hit a problem importing an XML file into Access (not my choice unfortunately!).&lt;br /&gt;&lt;br /&gt;I have a large XML file which amongst other info contains the&lt;br /&gt;following:&lt;br /&gt;&lt;br /&gt;&lt;address&gt;&lt;br /&gt; &lt;line&gt;address line 1&lt;/line&gt;&lt;br /&gt; &lt;line&gt;address line 2&lt;/line&gt;&lt;br /&gt; &lt;line&gt;address line 3&lt;/line&gt;&lt;br /&gt;&lt;/address&gt;&lt;br /&gt;&lt;br /&gt;The number of address lines is fixed.&lt;br /&gt;&lt;br /&gt;When I try to import this Access will only produce a single &apos;line&apos;&lt;br /&gt;field.&lt;br /&gt;&lt;br /&gt;Is there an XSLT solution that will allow me to number each of the&lt;br /&gt;&lt;line&gt; elements so I get&lt;br /&gt;&lt;br /&gt; &lt;line1&gt;address line 1&lt;/line1&gt;&lt;br /&gt; &lt;line2&gt;address line 2&lt;/line2&gt;&lt;br /&gt; &lt;line3&gt;address line 3&lt;/line3&gt;&lt;br /&gt;&lt;br /&gt;as that would import okay. &lt;br /&gt;&lt;br /&gt;Thanks in advance!&lt;br /&gt;&lt;br /&gt;Alb.</description>
  <comments>http://community.livejournal.com/_xml/10018.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>albanach</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/9910.html</guid>
  <pubDate>Mon, 05 Dec 2005 14:48:08 GMT</pubDate>
  <title>Scalar functions on sets in XSLT</title>
  <link>http://community.livejournal.com/_xml/9910.html</link>
  <description>I&apos;m looking at some XSLT code written by a vendor of ours, and it calls translate() on a nodeset that could very well have multiple nodes.  Will this just return the result for one node (random?  the first?), or will it return a nodeset of translated values?&lt;br /&gt;&lt;br /&gt;Thanks</description>
  <comments>http://community.livejournal.com/_xml/9910.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>pstscrpt</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/9591.html</guid>
  <pubDate>Wed, 23 Nov 2005 13:53:37 GMT</pubDate>
  <title>define sorting criteria in xslt</title>
  <link>http://community.livejournal.com/_xml/9591.html</link>
  <description>Hey people,&lt;br /&gt;&lt;br /&gt;does anyone here know of a nice way to define one&apos;s own sorting criteria using xslt&apos;s function sort? Specifically, I need to tell it that, when comparing two strings, I want whitespace to come *after* any number. E.g.:&lt;br /&gt;&lt;br /&gt;Normal ascending sort:&lt;br /&gt;1. sink1&lt;br /&gt;2. sink in&lt;br /&gt;3. sink2&lt;br /&gt;&lt;br /&gt;I want:&lt;br /&gt;1. sink1&lt;br /&gt;2. sink2&lt;br /&gt;3. sink in&lt;br /&gt;&lt;br /&gt;I&apos;m thinking of something similar to perl&apos;s subroutine &lt;i&gt;sort&lt;/i&gt; which you can call with your own comparison function. &lt;br /&gt;&lt;br /&gt;Any help would be greatly appreciated.</description>
  <comments>http://community.livejournal.com/_xml/9591.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>det_n</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/9437.html</guid>
  <pubDate>Mon, 14 Nov 2005 19:25:08 GMT</pubDate>
  <title>xslt declarations</title>
  <link>http://community.livejournal.com/_xml/9437.html</link>
  <description>many thanks to &lt;span class=&apos;ljuser&apos; lj:user=&apos;pstscrpt&apos; style=&apos;white-space: nowrap;&apos;&gt;&lt;a href=&apos;http://pstscrpt.livejournal.com/profile&apos;&gt;&lt;img src=&apos;http://p-stat.livejournal.com/img/userinfo.gif&apos; alt=&apos;[info]&apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;http://pstscrpt.livejournal.com/&apos;&gt;&lt;b&gt;pstscrpt&lt;/b&gt;&lt;/a&gt;&lt;/span&gt; who helped me last time with my silly xml questions.&lt;br /&gt;&lt;br /&gt;i&apos;ve developed &lt;a href=&quot;http://mike.mm1swebcreations.com/firefox/&quot;&gt;this&lt;/a&gt; that is generated by the output of &lt;a href=&quot;http://mozilla.doslash.org/infolister&quot;&gt;InfoLister&lt;/a&gt; and an xslt stylesheet i created.  i might have some of my code wrong and i was wondering if you guys could take a look at it.&lt;br /&gt;&lt;br /&gt;i can view it in fx1.5rc2 and ie6.  however, fx1.0.7 returns the following error:&lt;br /&gt;Error loading stylesheet:&lt;br /&gt;An XSLT stylesheet does not have an XML mimetype:&lt;br /&gt;&lt;a href=&quot;http://mike.mm1swebcreations.com/firefox/infolister.xslt&quot;&gt;http://mike.mm1swebcreations.com/firefox/infolister.xslt&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;i couldn&apos;t quite figure out what this meant.  so.  &lt;a href=&quot;http://mike.mm1swebcreations.com/firefox/index.xml&quot;&gt;xml&lt;/a&gt;, &lt;a href=&quot;http://mike.mm1swebcreations.com/firefox/infolister.xslt&quot;&gt;xslt&lt;/a&gt;, &lt;a href=&quot;http://mike.mm1swebcreations.com/firefox/infolister.css&quot;&gt;css&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;edit:&lt;/b&gt; with &lt;span class=&apos;ljuser&apos; lj:user=&apos;det_n&apos; style=&apos;white-space: nowrap; text-decoration: line-through;&apos;&gt;&lt;a href=&apos;http://det-n.livejournal.com/profile&apos;&gt;&lt;img src=&apos;http://p-stat.livejournal.com/img/userinfo.gif&apos; alt=&apos;[info]&apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;http://det-n.livejournal.com/&apos;&gt;&lt;b&gt;det_n&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&apos;s help i figured out that the file extension should be &lt;code&gt;xsl&lt;/code&gt; even tho it&apos;s an &lt;code&gt;xslt&lt;/code&gt; document.</description>
  <comments>http://community.livejournal.com/_xml/9437.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>kunzite1</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/9081.html</guid>
  <pubDate>Sat, 12 Nov 2005 04:08:53 GMT</pubDate>
  <title>XSLT counting</title>
  <link>http://community.livejournal.com/_xml/9081.html</link>
  <description>so.  i have part of an XML document that resembles the following:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;thing disabled=&quot;false&quot;&amp;gt;thing1&amp;lt;/thing&amp;gt;
&amp;lt;thing disabled=&quot;false&quot;&amp;gt;thing2&amp;lt;/thing&amp;gt;
&amp;lt;thing disabled=&quot;true&quot;&amp;gt;thing3&amp;lt;/thing&amp;gt;
&amp;lt;thing disabled=&quot;false&quot;&amp;gt;thing4&amp;lt;/thing&amp;gt;&lt;/code&gt;&lt;/pre&gt;if i wanted to perform a select statement similar to the following sql statement, how would i do that in XSLT?&lt;br /&gt;&lt;code&gt;SELECT * FROM `things` WHERE (`disabled` = &apos;false&apos;);&lt;/code&gt;&lt;br /&gt;&lt;b&gt;edit:&lt;/b&gt; solved thanks to &lt;span class=&apos;ljuser&apos; lj:user=&apos;pstscrpt&apos; style=&apos;white-space: nowrap;&apos;&gt;&lt;a href=&apos;http://pstscrpt.livejournal.com/profile&apos;&gt;&lt;img src=&apos;http://p-stat.livejournal.com/img/userinfo.gif&apos; alt=&apos;[info]&apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;http://pstscrpt.livejournal.com/&apos;&gt;&lt;b&gt;pstscrpt&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;.</description>
  <comments>http://community.livejournal.com/_xml/9081.html</comments>
  <lj:mood>confused</lj:mood>
  <lj:security>public</lj:security>
  <lj:poster>kunzite1</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/8767.html</guid>
  <pubDate>Wed, 24 Aug 2005 15:04:35 GMT</pubDate>
  <title>merge xml files</title>
  <link>http://community.livejournal.com/_xml/8767.html</link>
  <description>this might be trivial ...&lt;br /&gt;&lt;br /&gt;I have a bunch (appr. 100) xml files that need to be merged into one single big xml file (order preserved). Now, of course, attemps like &lt;code&gt;cat *.xml  &amp;gt;&amp;gt; output.xml &lt;/code&gt; fail because xml declarations, processing instructions, and root node of each file will be flushed into the output, too, thus invalidating it. &lt;br /&gt;&lt;br /&gt;I thought about writing a perl script that would do the merging and taking care of the problematic elements, but there must be an easier way, not? With XSLT I have the problem that it’s too many files and I wouldn’t want to hardcode the file names into the stylesheet. &lt;br /&gt;&lt;br /&gt;Any ideas/ help very much appreciated. Thanks in advance.</description>
  <comments>http://community.livejournal.com/_xml/8767.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>det_n</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/8662.html</guid>
  <pubDate>Wed, 10 Aug 2005 17:55:52 GMT</pubDate>
  <link>http://community.livejournal.com/_xml/8662.html</link>
  <description>Maybe I&apos;m just looking in the wrong place.&lt;br /&gt;&lt;br /&gt;I&apos;m trying to help develop a multi-database CMS system that stores sql queries in XML files, to be used later - it would allow for on-the-fly modification to an encrypted codebase.&lt;br /&gt;&lt;br /&gt;Unfortunately, I&apos;m trying to find some main standards that will enable such a system; for example, the LIMIT clause of MySQL versus the same function for MS SQL - SELECT top 10 from table - or something.&lt;br /&gt;&lt;br /&gt;Anyone point me in the right direction? Ideally some sort of article on multi-database systems with XML-&amp;gt;SQL query storage.&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;&lt;br /&gt;XPOSTED to: _xml &amp; webdesign</description>
  <comments>http://community.livejournal.com/_xml/8662.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>sirstompsalot</lj:poster>
</item>
<item>
  <guid isPermaLink='true'>http://community.livejournal.com/_xml/8214.html</guid>
  <pubDate>Thu, 14 Jul 2005 16:31:24 GMT</pubDate>
  <title>Tricky XPath</title>
  <link>http://community.livejournal.com/_xml/8214.html</link>
  <description>&lt;p&gt;Here is my situation, and I really hope that someone can help me on this. (It&apos;s a bit more difficult than most questions in this community.)&lt;/p&gt;
&lt;p&gt;I have a rather large &lt;a href=&quot;http://www.kronkltd.net/mycyclopedia/mycyclopedia.xml&quot;&gt;xml file&lt;/a&gt; that looks somewhat like this:&lt;/p&gt;
&lt;code&gt;&amp;lt;root&amp;gt;&lt;br /&gt;&amp;#8195;&amp;lt;Entry Id=&quot;1&quot; ... &amp;gt;&lt;br /&gt;&amp;#8195;&amp;#8195;...&lt;br /&gt;&amp;#8195;&amp;#8195;&amp;lt;location ...&amp;gt;&lt;br /&gt;&amp;#8195;&amp;#8195;&amp;#8195;&amp;lt;geo lat=&quot;lat_in_decimal&quot; long=&quot;long_in_decimal&quot; /&amp;gt;&lt;br /&gt;&amp;#8195;&amp;#8195;&amp;lt;/location&amp;gt;&lt;br /&gt;&amp;#8195;&amp;#8195;...&lt;br /&gt;&amp;#8195;&amp;lt;/Entry&amp;gt;&lt;br /&gt;&amp;#8195;...&lt;br /&gt;&amp;lt;/root&amp;gt;&lt;/code&gt;
&lt;p&gt;What I&apos;m looking for, is a way to write an XPath expresion that will select an arbitray number (say 10) of the closest elements to a given latitude and longitude. I don&apos;t care if the resulting node-set is in document order or not. I&apos;m willing to ignore things like the fact that the world is not flat, or that 1&amp;deg; lat &amp;ne; 1&amp;deg; long. I have access to EXSLT, so if I need to use some of the functions in there, I&apos;m okay with that. (I&apos;ll probably be using the MATH package for calculating the pythagorean theorem anyway.)&lt;/p&gt;
&lt;p&gt;I can handle all the basic math, but I&apos;m getting stuck on the whole &quot;selecting the 10 closest values&quot; thing. Any help would be greatly appreciated.&lt;/p&gt;</description>
  <comments>http://community.livejournal.com/_xml/8214.html</comments>
  <lj:security>public</lj:security>
  <lj:poster>duck1123</lj:poster>
</item>
</channel>
</rss>
