Answer the question
In order to leave comments, you need to log in
Is there a tool for structuring XML(HTML) based on config (json,xml...)?
There is a document:
<node>
<title attr='header'>1</title>
<child>2</child>
</node>
{
title: '//title[@attr="header"]',
text: '//child',
moreText: '//child'
}
Answer the question
In order to leave comments, you need to log in
This is what the XSLT language is designed for.
It is itself based on XML and is a language for describing the transformations of a given XML document. The XSLT parser receives the XSLT itself and the original XML document as input. This XSLT can transform the original document as you like (there are constructions for loops, conditions, arithmetic) and generate a new document based on it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question