Do the two top level elements conflict in xml stylesheet?

Karimchik

New Member
in a xml stylesheet,"strip-space" select all elements(elements="*"),but "preserve-space" selects part of elements, does the two root elements of stylesheet conflict with each other? how will the elements belong to "strip-space" and "preserve-space" be parsed? such as "abbrev","abbrev_journal_title"?\[code\]<xsl:strip-space elements="*"/> <!-- Space is preserved in all elements allowing #PCDATA --> <xsl:preserve-space elements="abbrev abbrev-journal-title access-date addr-line aff alt-text alt-title article-id article-title attrib award-id bold chapter-title chem-struct collab comment compound-kwd-part conf-acronym conf-date conf-loc conf-name conf-num conf-sponsor conf-theme copyright-holder copyright-statement copyright-year corresp country date-in-citation day def-head degrees disp-formula edition elocation-id email etal ext-link fax fpage funding-source funding-statement given-names glyph-data gov inline-formula inline-supplementary-material institution isbn issn issue issue-id issue-part issue-sponsor issue-title italic journal-id journal-subtitle journal-title kwd label license-p long-desc lpage meta-name meta-value mixed-citation monospace month named-content object-id on-behalf-of overline p page-range part-title patent phone prefix preformat price principal-award-recipient principal-investigator product pub-id publisher-loc publisher-name related-article related-object role roman sans-serif sc season self-uri series series-text series-title sig sig-block size source speaker std strike string-conf string-date string-name styled-content sub subject subtitle suffix sup supplement surname target td term term-head tex-math textual-form th time-stamp title trans-source trans-subtitle trans-title underline unstructured-kwd-group uri verse-line volume volume-id volume-series x xref year mml:annotation mml:ci mml:cn mml:csymbol mml:mi mml:mn mml:mo mml:ms mml:mtext"/>\[/code\]
 
Back
Top