<xsl:template match="observableObject" mode="fake">
<xsl:choose>
<xsl:when test="@type = 'Array'">
- <xsl:value-of select="concat($tab, $tab, @name, ': [{', $newline)"/>
+ <xsl:value-of select="concat($tab, $tab, '"', @name, '"', ': [{', $newline)"/>
<xsl:apply-templates select="observableObject" mode="fake"/>
<xsl:value-of select="concat($tab, $tab, '}],', $newline)"/>
</xsl:when>
<xsl:when test="@type = 'Object'">
- <xsl:value-of select="concat($tab, $tab, @name, ': {', $newline)"/>
+ <xsl:value-of select="concat($tab, $tab, '"', @name, '"', ': {', $newline)"/>
<xsl:apply-templates select="observableObject" mode="fake"/>
<xsl:value-of select="concat($tab, $tab, '},', $newline)"/>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="concat($tab, $tab, @name, ': ', '"', '"', ',', $newline)"/>
+ <xsl:value-of select="concat($tab, $tab, '"', @name, '"', ': ', '"', '"', ',', $newline)"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="observableObject" mode="fake">
<xsl:choose>
<xsl:when test="@type = 'Array'">
- <xsl:value-of select="concat($tab, $tab, @name, ': [{', $newline)"/>
+ <xsl:value-of select="concat($tab, $tab, '"', @name, '"', ': [{', $newline)"/>
<xsl:apply-templates select="observableObject" mode="fake"/>
<xsl:value-of select="concat($tab, $tab, '}],', $newline)"/>
</xsl:when>
<xsl:when test="@type = 'Object'">
- <xsl:value-of select="concat($tab, $tab, @name, ': {', $newline)"/>
+ <xsl:value-of select="concat($tab, $tab, '"', @name, '"', ': {', $newline)"/>
<xsl:apply-templates select="observableObject" mode="fake"/>
<xsl:value-of select="concat($tab, $tab, '},', $newline)"/>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="concat($tab, $tab, @name, ': ', '"', '"', ',', $newline)"/>
+ <xsl:value-of select="concat($tab, $tab, '"', @name, '"', ': ', '"', '"', ',', $newline)"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="observableObject" mode="fake">
<xsl:choose>
<xsl:when test="@type = 'Array'">
- <xsl:value-of select="concat($tab, $tab, @name, ': [{', $newline)"/>
+ <xsl:value-of select="concat($tab, $tab, '"', @name, '"', ': [{', $newline)"/>
<xsl:apply-templates select="observableObject" mode="fake"/>
<xsl:value-of select="concat($tab, $tab, '}],', $newline)"/>
</xsl:when>
<xsl:when test="@type = 'Object'">
- <xsl:value-of select="concat($tab, $tab, @name, ': {', $newline)"/>
+ <xsl:value-of select="concat($tab, $tab, '"', @name, '"', ': {', $newline)"/>
<xsl:apply-templates select="observableObject" mode="fake"/>
<xsl:value-of select="concat($tab, $tab, '},', $newline)"/>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="concat($tab, $tab, @name, ': ', '"', '"', ',', $newline)"/>
+ <xsl:value-of select="concat($tab, $tab, '"', @name, '"', ': ', '"', '"', ',', $newline)"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="observableObject" mode="fake">
<xsl:choose>
<xsl:when test="@type = 'Array'">
- <xsl:value-of select="concat($tab, $tab, @name, ': [{', $newline)"/>
+ <xsl:value-of select="concat($tab, $tab, '"', @name, '"', ': [{', $newline)"/>
<xsl:apply-templates select="observableObject" mode="fake"/>
<xsl:value-of select="concat($tab, $tab, '}],', $newline)"/>
</xsl:when>
<xsl:when test="@type = 'Object'">
- <xsl:value-of select="concat($tab, $tab, @name, ': {', $newline)"/>
+ <xsl:value-of select="concat($tab, $tab, '"', @name, '"', ': {', $newline)"/>
<xsl:apply-templates select="observableObject" mode="fake"/>
<xsl:value-of select="concat($tab, $tab, '},', $newline)"/>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="concat($tab, $tab, @name, ': ', '"', '"', ',', $newline)"/>
+ <xsl:value-of select="concat($tab, $tab, '"', @name, '"', ': ', '"', '"', ',', $newline)"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="observableObject" mode="fake">
<xsl:choose>
<xsl:when test="@type = 'Array'">
- <xsl:value-of select="concat($tab, $tab, @name, ': [{', $newline)"/>
+ <xsl:value-of select="concat($tab, $tab, '"', @name, '"', ': [{', $newline)"/>
<xsl:apply-templates select="observableObject" mode="fake"/>
<xsl:value-of select="concat($tab, $tab, '}],', $newline)"/>
</xsl:when>
<xsl:when test="@type = 'Object'">
- <xsl:value-of select="concat($tab, $tab, @name, ': {', $newline)"/>
+ <xsl:value-of select="concat($tab, $tab, '"', @name, '"', ': {', $newline)"/>
<xsl:apply-templates select="observableObject" mode="fake"/>
<xsl:value-of select="concat($tab, $tab, '},', $newline)"/>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="concat($tab, $tab, @name, ': ', '"', '"', ',', $newline)"/>
+ <xsl:value-of select="concat($tab, $tab, '"', @name, '"', ': ', '"', '"', ',', $newline)"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>