Jump to content

Using <Apply-Templates>


dooberry

Recommended Posts

I don't know if anyone will help me (especially as no one seems to have an answer for my previous post about scripted XSL :) ). I'm having trouble using XSL apply-templates on a document with different sibling elements.If I do a transform on data for one of the child elements, the browser still reads the data from it's sibling, even though there is no template for the sibling, and just shows the sibling's values as text.Does this mean that all sibling elements must have identical child nodes?Does this mean that childnodes must be leaves and not complex elements?Does this mean that IE6 can't use apply-templates properly?Worse still (and probably more likely), does this mean that I can't use apply-templates and XML properly?If I am trying to create a complextype, comprising different complextype structures (to mirror a relational database), is there a best way to do this?Please help, I'm getting tired. :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...