Couple of newbie questions and one specific to the issue I am trying to solve.
In some cases, my XSLT will specify <xsl:output method="xml"/> but the output will be plain text with no XML tags or delimiters.
Second, I'm having some issues understanding templates. The basic format seems straightforward enough when I look at examples. However, I run into some issues trying to understand when the templates are evaluated, when to use an "apply-templates" after a match, and when to use a match vs. select.
Finally my specific issue.
My input XML may look something like this:
<ServiceTags>
<Service parm="123455">
<name>Joe Blow</name>
<address>1234 Oak Street</address>
</Service>
<Service parm="98989">
<name>Tom Swift</name>
<address>1721 3rd Street</address>
</Service>
<Service parm="123455">
<city>detroit</city>
<state>mi</state>
<Service parm="98989">
<city>san diego</city>
<state>ca</state>
</ServiceTags>
Note that the parm values are the same for a couple of elements, but the child elements are different. What I'm trying to do is to be able to treat the two sets of child elements as one. Any thoughts on this?
Thanks.