XML, XPATH and XSLT support

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
imed-edition
Posts: 12
Joined: Fri Apr 21, 2006 1:53 pm

XML, XPATH and XSLT support

Post by imed-edition » Fri Apr 21, 2006 2:16 pm

Some of the xml features requests to bugzilla and votes since 2004:

http://support.runrev.com/bugdatabase/s ... gi?id=1893
http://support.runrev.com/bugdatabase/s ... gi?id=2252

...but never been addressed. Absolute silence from Runrev! At least developers would been grateful to get information from Runrev intention to deliver xml related technology. If Runrev tells us clearly that they are not willing to offer xml technology, third parties could invest in xternal development...

I join others who think it's really strange for an application like Revolution to not have those modern features and it is incomprehensible that Runrev does not react to such feature requests.

pevensen
Posts: 21
Joined: Mon Apr 10, 2006 2:50 pm
Location: St. Louis, MO, USA
Contact:

Post by pevensen » Tue Apr 25, 2006 9:06 pm

Are the order of siblings defined in an XML file? I don't think it is, so it shouldn't matter where revXMLAddNode inserts a node, unless I'm not understanding the purpose of the proposed revInserXMLNode.

If I have:

/Root/SomeParent/ChildNode[1]
/Root/SomeParent/ChildNode[2]

if I want to insert another ChildNode, it shouldn't matter if it comes before or after ChildeNode[2].
Peter Evensen
[url]http://www.PetersRoadtoHealth.com[/url]

imed-edition
Posts: 12
Joined: Fri Apr 21, 2006 1:53 pm

XML, XPATH and XSLT support

Post by imed-edition » Wed Apr 26, 2006 7:00 am

pevensen wrote:Are the order of siblings defined in an XML file? I don't think it is, ...
Of course it is! depending on your model...

In http://www.w3.org/TR/2004/REC-xml11-20040204/ it is stated that for tag «the order of attribute specifications in a start-tag or empty-element tag is not significant». BUT for element it depends on the purpose you want, for example it is stated that «the sequence of child elements belongs to the language generated by the regular expression in the content model» and «a sequence list MUST each appear in the element content in the order given in the list». Therefore depending on your model if children of an element is an ordered sequence, then in your xml file you HAVE TO be able to insert a child element between two sibblings to reorder when necessary.

And if you are not convinced, read http://www.w3schools.com/tags/tag_ol.asp about HTML/XHTML <ol> tag which defines the start of an ordered list.

Definitely the revInsertXMLNode is a MUST feature.

pevensen
Posts: 21
Joined: Mon Apr 10, 2006 2:50 pm
Location: St. Louis, MO, USA
Contact:

Post by pevensen » Wed Apr 26, 2006 6:03 pm

I did go through the w3schools XML tutorial, but hadn't read teh w3 specification. I stand corrected :). Thanks for pointing this info out!

I hadn't considered the example of <ol>, which is a good one.

Now I see the benefits for revInsertXMLNode.
Peter Evensen
[url]http://www.PetersRoadtoHealth.com[/url]

Post Reply

Return to “Feature Proposals”