xslt - XSL: How to print an iterated node in for-each -


एक्सएमएल:

  & lt; कौशल & gt; & LT; कौशल & gt; पीएचपी & lt; / कौशल & gt; & LT; कौशल & gt; सीएसएस & lt; / कौशल & gt; & LT; कौशल & gt; HTML & lt; / कौशल & gt; & LT; कौशल & gt; एक्सएमएल & lt; / कौशल & gt; & Lt; / कौशल & gt;  

एक्सएसएल:

  & lt; ul & gt; & Lt; xsl: प्रत्येक चयन = "कौशल / कौशल" & gt; & Lt; li & gt; & lt; xsl: मान का चयन करें = "[क्या xpath होना चाहिए]" & gt; & lt; / li & lt; / xsl: प्रत्येक-जी & gt; & Lt; / ul & gt;  

यहां प्रत्येक कौशल को प्रिंट करने के लिए xpath क्या होना चाहिए?

आप निम्नानुसार कौशल टैग के मूल्य प्राप्त कर सकते हैं:

  & lt; xsl: प्रत्येक चयन = "कौशल / कौशल" & gt; & Lt; li & gt; & lt; xsl: मान का चयन = "।" / & Gt; & lt; / li & gt; & Lt; / XSL: के लिए-प्रत्येक & gt;  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -